// SerialAdd.cpp : implementation file
//

#include "stdafx.h"
#include "Measure.h"
#include "SerialAdd.h"
#include "afxdialogex.h"


// CSerialAdd dialog

IMPLEMENT_DYNAMIC(CSerialAdd, CDialogEx)

CSerialAdd::CSerialAdd(CWnd* pParent /*=NULL*/)
	: CDialogEx(CSerialAdd::IDD, pParent)
  , name_(_T("serial"))
  , device_(_T("COM1"))
{

}

CSerialAdd::~CSerialAdd()
{
}

void CSerialAdd::DoDataExchange(CDataExchange* pDX)
{
  CDialogEx::DoDataExchange(pDX);
  DDX_Text(pDX, IDC_SERIAL_NAME, name_);
  DDX_Text(pDX, IDC_SERIAL_DEVICE, device_);
}


BEGIN_MESSAGE_MAP(CSerialAdd, CDialogEx)
END_MESSAGE_MAP()


// CSerialAdd message handlers
